package dao;

import entity.Bill;
import entity.Provider;
import entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface UserMapper {

    List<Bill> getBillList(@Param("productName") String userName, @Param("isPayment") Integer isPayment,
                           @Param("providerId")Integer providerId);

    List<Provider> ShangJi02(@Param("proName") String proName,@Param("proCode") String proCode);

    int ShangJi03(Provider pro);

    int ShangJi04(Provider pro);

    List<Bill> ShangJi05Array(Integer [] pro);

    List<Bill> ShangJi05List(List<Integer> list);

    List<Bill> ShangJi06(Map<String,Object> billMap);

    List<Provider> ShangJi07 (@Param("proCode")String proCode,@Param("proName")String proName,@Param("proPhone") String proPhone);

    int count();
    List<Provider> ShangJi08(@Param("from") Integer currentPageNo,@Param("pageSize")Integer pageSize );

    List<Bill> ShangJi08Bill(@Param("from") Integer currentPageNo,@Param("pageSize")Integer pageSize );
}
